package com.sunlg.smarthome.contract;

import com.sunlg.smarthome.base.IBasePresenter;
import com.sunlg.smarthome.base.IBaseView;
import com.sunlg.smarthome.data.entity.FireWarning;
import com.sunlg.smarthome.data.entity.Warning;

import java.util.List;

/**
 * Created by sunlg on 2017/5/29.
 */

public interface FireWarningContract {
    interface View extends IBaseView {
        void loadFireWarningSuccess(List<FireWarning> warnings);
    }

    interface Presenter extends IBasePresenter<View> {
        void loadAllFireWarning();
    }
}
